<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/>
<meta http-equiv="X-UA-Compatible" content="IE=9"/>
<meta name="generator" content="Doxygen 1.8.11"/>
<title>eRPC Generator (erpcgen): PythonGenerator.h Source File</title>
<link href="tabs.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="jquery.js"></script>
<script type="text/javascript" src="dynsections.js"></script>
<link href="navtree.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="resize.js"></script>
<script type="text/javascript" src="navtreedata.js"></script>
<script type="text/javascript" src="navtree.js"></script>
<script type="text/javascript">
  $(document).ready(initResizable);
  $(window).load(resizeHeight);
</script>
<link href="search/search.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="search/searchdata.js"></script>
<script type="text/javascript" src="search/search.js"></script>
<script type="text/javascript">
  $(document).ready(function() { init_search(); });
</script>
<link href="doxygen.css" rel="stylesheet" type="text/css" />
<link href="customdoxygen.css" rel="stylesheet" type="text/css"/>
</head>
<body>
<div id="top"><!-- do not remove this div, it is closed by doxygen! -->
<div id="titlearea">
<table cellspacing="0" cellpadding="0">
 <tbody>
 <tr style="height: 56px;">
  <td id="projectlogo"><img alt="Logo" src="nxp_logo_small.png"/></td>
  <td id="projectalign" style="padding-left: 0.5em;">
   <div id="projectname">eRPC Generator (erpcgen)
   &#160;<span id="projectnumber">Rev. 1.7.4</span>
   </div>
   <div id="projectbrief">NXP Semiconductors</div>
  </td>
 </tr>
 </tbody>
</table>
</div>
<!-- end header part -->
<!-- Generated by Doxygen 1.8.11 -->
<script type="text/javascript">
var searchBox = new SearchBox("searchBox", "search",false,'Search');
</script>
  <div id="navrow1" class="tabs">
    <ul class="tablist">
      <li><a href="index.html"><span>Main&#160;Page</span></a></li>
      <li><a href="annotated.html"><span>Classes</span></a></li>
      <li class="current"><a href="files.html"><span>Files</span></a></li>
      <li>
        <div id="MSearchBox" class="MSearchBoxInactive">
        <span class="left">
          <img id="MSearchSelect" src="search/mag_sel.png"
               onmouseover="return searchBox.OnSearchSelectShow()"
               onmouseout="return searchBox.OnSearchSelectHide()"
               alt=""/>
          <input type="text" id="MSearchField" value="Search" accesskey="S"
               onfocus="searchBox.OnSearchFieldFocus(true)" 
               onblur="searchBox.OnSearchFieldFocus(false)" 
               onkeyup="searchBox.OnSearchFieldChange(event)"/>
          </span><span class="right">
            <a id="MSearchClose" href="javascript:searchBox.CloseResultsWindow()"><img id="MSearchCloseImg" border="0" src="search/close.png" alt=""/></a>
          </span>
        </div>
      </li>
    </ul>
  </div>
  <div id="navrow2" class="tabs2">
    <ul class="tablist">
      <li><a href="files.html"><span>File&#160;List</span></a></li>
    </ul>
  </div>
</div><!-- top -->
<div id="side-nav" class="ui-resizable side-nav-resizable">
  <div id="nav-tree">
    <div id="nav-tree-contents">
      <div id="nav-sync" class="sync"></div>
    </div>
  </div>
  <div id="splitbar" style="-moz-user-select:none;" 
       class="ui-resizable-handle">
  </div>
</div>
<script type="text/javascript">
$(document).ready(function(){initNavTree('_python_generator_8h_source.html','');});
</script>
<div id="doc-content">
<!-- window showing the filter options -->
<div id="MSearchSelectWindow"
     onmouseover="return searchBox.OnSearchSelectShow()"
     onmouseout="return searchBox.OnSearchSelectHide()"
     onkeydown="return searchBox.OnSearchSelectKey(event)">
</div>

<!-- iframe showing the search results (closed by default) -->
<div id="MSearchResultsWindow">
<iframe src="javascript:void(0)" frameborder="0" 
        name="MSearchResults" id="MSearchResults">
</iframe>
</div>

<div class="header">
  <div class="headertitle">
<div class="title">PythonGenerator.h</div>  </div>
</div><!--header-->
<div class="contents">
<div class="fragment"><div class="line"><a name="l00001"></a><span class="lineno">    1</span>&#160;<span class="comment">/*</span></div><div class="line"><a name="l00002"></a><span class="lineno">    2</span>&#160;<span class="comment"> * Copyright (c) 2014-2016 Freescale Semiconductor, Inc.</span></div><div class="line"><a name="l00003"></a><span class="lineno">    3</span>&#160;<span class="comment"> * Copyright 2016-2017 NXP</span></div><div class="line"><a name="l00004"></a><span class="lineno">    4</span>&#160;<span class="comment"> * All rights reserved.</span></div><div class="line"><a name="l00005"></a><span class="lineno">    5</span>&#160;<span class="comment"> *</span></div><div class="line"><a name="l00006"></a><span class="lineno">    6</span>&#160;<span class="comment"> *</span></div><div class="line"><a name="l00007"></a><span class="lineno">    7</span>&#160;<span class="comment"> * SPDX-License-Identifier: BSD-3-Clause</span></div><div class="line"><a name="l00008"></a><span class="lineno">    8</span>&#160;<span class="comment"> */</span></div><div class="line"><a name="l00009"></a><span class="lineno">    9</span>&#160;</div><div class="line"><a name="l00010"></a><span class="lineno">   10</span>&#160;<span class="preprocessor">#ifndef _EMBEDDED_RPC__PYTHONGENERATOR_H_</span></div><div class="line"><a name="l00011"></a><span class="lineno">   11</span>&#160;<span class="preprocessor">#define _EMBEDDED_RPC__PYTHONGENERATOR_H_</span></div><div class="line"><a name="l00012"></a><span class="lineno">   12</span>&#160;</div><div class="line"><a name="l00013"></a><span class="lineno">   13</span>&#160;<span class="preprocessor">#include &quot;Generator.h&quot;</span></div><div class="line"><a name="l00014"></a><span class="lineno">   14</span>&#160;<span class="preprocessor">#include &quot;cpptempl.h&quot;</span></div><div class="line"><a name="l00015"></a><span class="lineno">   15</span>&#160;<span class="preprocessor">#include &lt;set&gt;</span></div><div class="line"><a name="l00016"></a><span class="lineno">   16</span>&#160;<span class="preprocessor">#include &lt;string&gt;</span></div><div class="line"><a name="l00017"></a><span class="lineno">   17</span>&#160;</div><div class="line"><a name="l00019"></a><span class="lineno">   19</span>&#160;<span class="comment">// Classes</span></div><div class="line"><a name="l00021"></a><span class="lineno">   21</span>&#160;<span class="comment"></span></div><div class="line"><a name="l00022"></a><span class="lineno">   22</span>&#160;<span class="keyword">namespace </span><a class="code" href="namespaceerpcgen.html">erpcgen</a> {</div><div class="line"><a name="l00023"></a><span class="lineno">   23</span>&#160;</div><div class="line"><a name="l00027"></a><span class="lineno"><a class="line" href="classerpcgen_1_1_python_generator.html">   27</a></span>&#160;<span class="keyword">class </span><a class="code" href="classerpcgen_1_1_python_generator.html">PythonGenerator</a> : <span class="keyword">public</span> <a class="code" href="classerpcgen_1_1_generator.html">Generator</a></div><div class="line"><a name="l00028"></a><span class="lineno">   28</span>&#160;{</div><div class="line"><a name="l00029"></a><span class="lineno">   29</span>&#160;<span class="keyword">public</span>:</div><div class="line"><a name="l00035"></a><span class="lineno">   35</span>&#160;    <a class="code" href="classerpcgen_1_1_python_generator.html#aad87b3a5437e1840f97dc9c4a98030bf">PythonGenerator</a>(<a class="code" href="classerpcgen_1_1_interface_definition.html">InterfaceDefinition</a> *def);</div><div class="line"><a name="l00036"></a><span class="lineno">   36</span>&#160;</div><div class="line"><a name="l00042"></a><span class="lineno"><a class="line" href="classerpcgen_1_1_python_generator.html#a16c687c782244dd5a1ffdb20541ee7aa">   42</a></span>&#160;    <span class="keyword">virtual</span> <a class="code" href="classerpcgen_1_1_python_generator.html#a16c687c782244dd5a1ffdb20541ee7aa">~PythonGenerator</a>() {}</div><div class="line"><a name="l00043"></a><span class="lineno">   43</span>&#160;</div><div class="line"><a name="l00049"></a><span class="lineno">   49</span>&#160;    <span class="keyword">virtual</span> <span class="keywordtype">void</span> <a class="code" href="classerpcgen_1_1_python_generator.html#ad16dff80cfd6557f8ebd94ac52cf0b7a">generate</a>();</div><div class="line"><a name="l00050"></a><span class="lineno">   50</span>&#160;</div><div class="line"><a name="l00051"></a><span class="lineno">   51</span>&#160;<span class="keyword">protected</span>:</div><div class="line"><a name="l00052"></a><span class="lineno"><a class="line" href="classerpcgen_1_1_python_generator.html#a64faaba16ab3ada34a74eb2169347e2d">   52</a></span>&#160;    std::string <a class="code" href="classerpcgen_1_1_python_generator.html#a64faaba16ab3ada34a74eb2169347e2d">m_suffixStrip</a>; </div><div class="line"><a name="l00053"></a><span class="lineno"><a class="line" href="classerpcgen_1_1_python_generator.html#af4e9684cb2614e1a710670f5bacde45a">   53</a></span>&#160;    <span class="keywordtype">size_t</span> <a class="code" href="classerpcgen_1_1_python_generator.html#af4e9684cb2614e1a710670f5bacde45a">m_suffixStripSize</a>;  </div><div class="line"><a name="l00054"></a><span class="lineno">   54</span>&#160;</div><div class="line"><a name="l00060"></a><span class="lineno">   60</span>&#160;    <span class="keywordtype">void</span> <a class="code" href="classerpcgen_1_1_python_generator.html#ad42fb80a53dd3a60083e068213c1e1dc">parseSubtemplates</a>();</div><div class="line"><a name="l00061"></a><span class="lineno">   61</span>&#160;</div><div class="line"><a name="l00069"></a><span class="lineno">   69</span>&#160;    <span class="keywordtype">void</span> <a class="code" href="classerpcgen_1_1_python_generator.html#a3c02297f1492e80536de6a693e92faee">generateOutputFiles</a>(<span class="keyword">const</span> std::string &amp;fileName);</div><div class="line"><a name="l00070"></a><span class="lineno">   70</span>&#160;</div><div class="line"><a name="l00076"></a><span class="lineno">   76</span>&#160;    <span class="keywordtype">void</span> <a class="code" href="classerpcgen_1_1_python_generator.html#a72086513216a45445c5a5a8c4a76c46f">generateCommonFile</a>(std::string fileName);</div><div class="line"><a name="l00077"></a><span class="lineno">   77</span>&#160;</div><div class="line"><a name="l00083"></a><span class="lineno">   83</span>&#160;    <span class="keywordtype">void</span> <a class="code" href="classerpcgen_1_1_python_generator.html#a6be8642a52699e67a25cc871eaad71d4">generateInitFile</a>(std::string fileName);</div><div class="line"><a name="l00084"></a><span class="lineno">   84</span>&#160;</div><div class="line"><a name="l00090"></a><span class="lineno">   90</span>&#160;    <span class="keywordtype">void</span> <a class="code" href="classerpcgen_1_1_python_generator.html#a2089e01eceb16260cc331687cceddfaa">generateClientFile</a>(std::string fileName);</div><div class="line"><a name="l00091"></a><span class="lineno">   91</span>&#160;</div><div class="line"><a name="l00097"></a><span class="lineno">   97</span>&#160;    <span class="keywordtype">void</span> <a class="code" href="classerpcgen_1_1_python_generator.html#a93a809338bbbf64d52d77a356571ac98">generateServerFile</a>(std::string fileName);</div><div class="line"><a name="l00098"></a><span class="lineno">   98</span>&#160;</div><div class="line"><a name="l00104"></a><span class="lineno">  104</span>&#160;    <span class="keywordtype">void</span> <a class="code" href="classerpcgen_1_1_python_generator.html#a8a6db075f452a06cc42bf6fe690c22c9">generateInterfaceFile</a>(std::string fileName);</div><div class="line"><a name="l00105"></a><span class="lineno">  105</span>&#160;</div><div class="line"><a name="l00109"></a><span class="lineno">  109</span>&#160;    <span class="keyword">virtual</span> <span class="keywordtype">void</span> <a class="code" href="classerpcgen_1_1_python_generator.html#a9eacc3582abb3ecba72ad9acbf3320d3">generateGlobalInitFile</a>();</div><div class="line"><a name="l00110"></a><span class="lineno">  110</span>&#160;</div><div class="line"><a name="l00123"></a><span class="lineno">  123</span>&#160;    <a class="code" href="classcpptempl_1_1data__map.html">cpptempl::data_map</a> <a class="code" href="classerpcgen_1_1_python_generator.html#a17c8b058c824888e052cee0476659ef7">getFunctionTemplateData</a>(<a class="code" href="classerpcgen_1_1_group.html">Group</a> *group, <a class="code" href="classerpcgen_1_1_function.html">Function</a> *fn);</div><div class="line"><a name="l00124"></a><span class="lineno">  124</span>&#160;</div><div class="line"><a name="l00131"></a><span class="lineno">  131</span>&#160;    <span class="keywordtype">void</span> <a class="code" href="classerpcgen_1_1_python_generator.html#a85fe129c6dcb48f5d09a679da07c63be">setTemplateComments</a>(<a class="code" href="classerpcgen_1_1_symbol.html">Symbol</a> *symbol, <a class="code" href="classcpptempl_1_1data__map.html">cpptempl::data_map</a> &amp;symbolInfo);</div><div class="line"><a name="l00132"></a><span class="lineno">  132</span>&#160;</div><div class="line"><a name="l00140"></a><span class="lineno">  140</span>&#160;    std::string <a class="code" href="classerpcgen_1_1_python_generator.html#a82835df27d6dce465b6cbd77d97476ae">getFunctionPrototype</a>(<a class="code" href="classerpcgen_1_1_function.html">Function</a> *fn);</div><div class="line"><a name="l00141"></a><span class="lineno">  141</span>&#160;</div><div class="line"><a name="l00148"></a><span class="lineno">  148</span>&#160;    <span class="keywordtype">void</span> <a class="code" href="classerpcgen_1_1_python_generator.html#aa037acaace79eb6ca1574dd0f8f224b3">makeConstTemplateData</a>();</div><div class="line"><a name="l00149"></a><span class="lineno">  149</span>&#160;</div><div class="line"><a name="l00156"></a><span class="lineno">  156</span>&#160;    <span class="keywordtype">void</span> <a class="code" href="classerpcgen_1_1_python_generator.html#a159433bdd4b08321645dde2ab16486eb">makeEnumsTemplateData</a>();</div><div class="line"><a name="l00157"></a><span class="lineno">  157</span>&#160;</div><div class="line"><a name="l00168"></a><span class="lineno">  168</span>&#160;    <a class="code" href="classcpptempl_1_1data__map.html">cpptempl::data_map</a> <a class="code" href="classerpcgen_1_1_python_generator.html#aff03a8fa95169719ea156c784c748dbb">makeGroupSymbolsTemplateData</a>(<a class="code" href="classerpcgen_1_1_group.html">Group</a> *group);</div><div class="line"><a name="l00169"></a><span class="lineno">  169</span>&#160;</div><div class="line"><a name="l00180"></a><span class="lineno">  180</span>&#160;    cpptempl::data_list <a class="code" href="classerpcgen_1_1_python_generator.html#a2af3aec5e6e3fee1417287f4c12c5cfc">getEnumMembersTemplateData</a>(<a class="code" href="classerpcgen_1_1_enum_type.html">EnumType</a> *enumType);</div><div class="line"><a name="l00181"></a><span class="lineno">  181</span>&#160;</div><div class="line"><a name="l00185"></a><span class="lineno">  185</span>&#160;    <span class="keywordtype">void</span> <a class="code" href="classerpcgen_1_1_python_generator.html#a8432d73aacea31ea804c9f61e951fbf2">makeAliasesTemplateData</a>();</div><div class="line"><a name="l00186"></a><span class="lineno">  186</span>&#160;</div><div class="line"><a name="l00192"></a><span class="lineno">  192</span>&#160;    <span class="keywordtype">void</span> <a class="code" href="classerpcgen_1_1_python_generator.html#aad265247ed52bc38c3d7762ef2a33db4">makeFunctionsTemplateData</a>();</div><div class="line"><a name="l00193"></a><span class="lineno">  193</span>&#160;</div><div class="line"><a name="l00203"></a><span class="lineno">  203</span>&#160;    <span class="keywordtype">void</span> <a class="code" href="classerpcgen_1_1_python_generator.html#a395a47fda56e74785ec229bf3f58b655">setStructMembersTemplateData</a>(<a class="code" href="classerpcgen_1_1_struct_type.html">StructType</a> *structType, <a class="code" href="classcpptempl_1_1data__map.html">cpptempl::data_map</a> &amp;structInfo);</div><div class="line"><a name="l00204"></a><span class="lineno">  204</span>&#160;</div><div class="line"><a name="l00208"></a><span class="lineno">  208</span>&#160;    <span class="keywordtype">void</span> <a class="code" href="classerpcgen_1_1_python_generator.html#afda1685e2f240fb65bbba975fb686e76">setOneStructMemberTemplateData</a>(<a class="code" href="classerpcgen_1_1_struct_member.html">StructMember</a> *member, <a class="code" href="classcpptempl_1_1data__map.html">cpptempl::data_map</a> &amp;member_info);</div><div class="line"><a name="l00209"></a><span class="lineno">  209</span>&#160;</div><div class="line"><a name="l00220"></a><span class="lineno">  220</span>&#160;    <a class="code" href="classcpptempl_1_1data__map.html">cpptempl::data_map</a> <a class="code" href="classerpcgen_1_1_python_generator.html#ab2c05b210c26321b3c8d3596a6bbb63d">getTypeInfo</a>(<a class="code" href="classerpcgen_1_1_data_type.html">DataType</a> *t);</div><div class="line"><a name="l00221"></a><span class="lineno">  221</span>&#160;</div><div class="line"><a name="l00229"></a><span class="lineno">  229</span>&#160;    std::string <a class="code" href="classerpcgen_1_1_python_generator.html#a8cc74c4d08efa3629983131b0037f085">getBuiltinTypename</a>(<span class="keyword">const</span> <a class="code" href="classerpcgen_1_1_builtin_type.html">BuiltinType</a> *t);</div><div class="line"><a name="l00230"></a><span class="lineno">  230</span>&#160;</div><div class="line"><a name="l00234"></a><span class="lineno">  234</span>&#160;    std::string <a class="code" href="classerpcgen_1_1_python_generator.html#a3a18b17878987df2ea6606d8beb45887">filterName</a>(<span class="keyword">const</span> std::string &amp;name);</div><div class="line"><a name="l00235"></a><span class="lineno">  235</span>&#160;</div><div class="line"><a name="l00237"></a><span class="lineno"><a class="line" href="classerpcgen_1_1_python_generator.html#afb39bd4d55ecf9aee7d12d0cd35cc7ad">  237</a></span>&#160;    <span class="keyword">enum</span> <a class="code" href="classerpcgen_1_1_python_generator.html#afb39bd4d55ecf9aee7d12d0cd35cc7ad">comment_type</a></div><div class="line"><a name="l00238"></a><span class="lineno">  238</span>&#160;    {</div><div class="line"><a name="l00239"></a><span class="lineno"><a class="line" href="classerpcgen_1_1_python_generator.html#afb39bd4d55ecf9aee7d12d0cd35cc7ada9b1c3c4cc99d25a7714dffa03f5bf786">  239</a></span>&#160;        <a class="code" href="classerpcgen_1_1_python_generator.html#afb39bd4d55ecf9aee7d12d0cd35cc7ada9b1c3c4cc99d25a7714dffa03f5bf786">kMultilineComment</a>, </div><div class="line"><a name="l00240"></a><span class="lineno"><a class="line" href="classerpcgen_1_1_python_generator.html#afb39bd4d55ecf9aee7d12d0cd35cc7ada7840ee571c5c5bf32b7ab020cd654d49">  240</a></span>&#160;        <a class="code" href="classerpcgen_1_1_python_generator.html#afb39bd4d55ecf9aee7d12d0cd35cc7ada7840ee571c5c5bf32b7ab020cd654d49">kInlineComment</a>,    </div><div class="line"><a name="l00241"></a><span class="lineno">  241</span>&#160;    };</div><div class="line"><a name="l00242"></a><span class="lineno">  242</span>&#160;</div><div class="line"><a name="l00251"></a><span class="lineno">  251</span>&#160;    std::string <a class="code" href="classerpcgen_1_1_python_generator.html#a8b627ff8666052e6799bd8b87d8d8b74">convertComment</a>(<span class="keyword">const</span> std::string &amp;comment, <a class="code" href="classerpcgen_1_1_python_generator.html#afb39bd4d55ecf9aee7d12d0cd35cc7ad">comment_type</a> commentType);</div><div class="line"><a name="l00252"></a><span class="lineno">  252</span>&#160;</div><div class="line"><a name="l00258"></a><span class="lineno">  258</span>&#160;    std::string <a class="code" href="classerpcgen_1_1_python_generator.html#a9ce867132a8c720f8aae4090ab51f0cd">stripWhitespace</a>(<span class="keyword">const</span> std::string &amp;s);</div><div class="line"><a name="l00259"></a><span class="lineno">  259</span>&#160;</div><div class="line"><a name="l00265"></a><span class="lineno">  265</span>&#160;    <span class="keywordtype">bool</span> <a class="code" href="classerpcgen_1_1_python_generator.html#ab1ed7536bc90b790eef9e499e1f25530">checkWhitspaceChar</a>(<span class="keywordtype">char</span> c);</div><div class="line"><a name="l00266"></a><span class="lineno">  266</span>&#160;</div><div class="line"><a name="l00270"></a><span class="lineno">  270</span>&#160;    <span class="keywordtype">void</span> <a class="code" href="classerpcgen_1_1_python_generator.html#a0c489b72c0a49e306655e5d09dfa9cce">initPythonReservedWords</a>();</div><div class="line"><a name="l00271"></a><span class="lineno">  271</span>&#160;};</div><div class="line"><a name="l00272"></a><span class="lineno">  272</span>&#160;</div><div class="line"><a name="l00273"></a><span class="lineno">  273</span>&#160;} <span class="comment">// namespace erpcgen</span></div><div class="line"><a name="l00274"></a><span class="lineno">  274</span>&#160;</div><div class="line"><a name="l00275"></a><span class="lineno">  275</span>&#160;<span class="preprocessor">#endif // _EMBEDDED_RPC__PYTHONGENERATOR_H_</span></div><div class="ttc" id="classerpcgen_1_1_interface_definition_html"><div class="ttname"><a href="classerpcgen_1_1_interface_definition.html">erpcgen::InterfaceDefinition</a></div><div class="ttdoc">Collects all definitions from an IDL. </div><div class="ttdef"><b>Definition:</b> InterfaceDefinition.h:30</div></div>
<div class="ttc" id="classerpcgen_1_1_python_generator_html_aad265247ed52bc38c3d7762ef2a33db4"><div class="ttname"><a href="classerpcgen_1_1_python_generator.html#aad265247ed52bc38c3d7762ef2a33db4">erpcgen::PythonGenerator::makeFunctionsTemplateData</a></div><div class="ttdeci">void makeFunctionsTemplateData()</div><div class="ttdoc">This function sets function type template data. </div><div class="ttdef"><b>Definition:</b> PythonGenerator.cpp:536</div></div>
<div class="ttc" id="classerpcgen_1_1_python_generator_html_afb39bd4d55ecf9aee7d12d0cd35cc7ada9b1c3c4cc99d25a7714dffa03f5bf786"><div class="ttname"><a href="classerpcgen_1_1_python_generator.html#afb39bd4d55ecf9aee7d12d0cd35cc7ada9b1c3c4cc99d25a7714dffa03f5bf786">erpcgen::PythonGenerator::kMultilineComment</a></div><div class="ttdoc">Leading multi-line comment. </div><div class="ttdef"><b>Definition:</b> PythonGenerator.h:239</div></div>
<div class="ttc" id="classerpcgen_1_1_struct_member_html"><div class="ttname"><a href="classerpcgen_1_1_struct_member.html">erpcgen::StructMember</a></div><div class="ttdoc">Member of a struct. </div><div class="ttdef"><b>Definition:</b> StructMember.h:37</div></div>
<div class="ttc" id="classerpcgen_1_1_python_generator_html_a8cc74c4d08efa3629983131b0037f085"><div class="ttname"><a href="classerpcgen_1_1_python_generator.html#a8cc74c4d08efa3629983131b0037f085">erpcgen::PythonGenerator::getBuiltinTypename</a></div><div class="ttdeci">std::string getBuiltinTypename(const BuiltinType *t)</div><div class="ttdoc">This function return string representation for given BuiltinType. </div><div class="ttdef"><b>Definition:</b> PythonGenerator.cpp:711</div></div>
<div class="ttc" id="classerpcgen_1_1_python_generator_html_a6be8642a52699e67a25cc871eaad71d4"><div class="ttname"><a href="classerpcgen_1_1_python_generator.html#a6be8642a52699e67a25cc871eaad71d4">erpcgen::PythonGenerator::generateInitFile</a></div><div class="ttdeci">void generateInitFile(std::string fileName)</div><div class="ttdoc">This function generate output package init file. </div><div class="ttdef"><b>Definition:</b> PythonGenerator.cpp:64</div></div>
<div class="ttc" id="classerpcgen_1_1_python_generator_html_afb39bd4d55ecf9aee7d12d0cd35cc7ada7840ee571c5c5bf32b7ab020cd654d49"><div class="ttname"><a href="classerpcgen_1_1_python_generator.html#afb39bd4d55ecf9aee7d12d0cd35cc7ada7840ee571c5c5bf32b7ab020cd654d49">erpcgen::PythonGenerator::kInlineComment</a></div><div class="ttdoc">Trailing inline comment. </div><div class="ttdef"><b>Definition:</b> PythonGenerator.h:240</div></div>
<div class="ttc" id="classerpcgen_1_1_python_generator_html_afda1685e2f240fb65bbba975fb686e76"><div class="ttname"><a href="classerpcgen_1_1_python_generator.html#afda1685e2f240fb65bbba975fb686e76">erpcgen::PythonGenerator::setOneStructMemberTemplateData</a></div><div class="ttdeci">void setOneStructMemberTemplateData(StructMember *member, cpptempl::data_map &amp;member_info)</div><div class="ttdoc">Fill in template data for a single struct member. </div><div class="ttdef"><b>Definition:</b> PythonGenerator.cpp:518</div></div>
<div class="ttc" id="classerpcgen_1_1_python_generator_html_a64faaba16ab3ada34a74eb2169347e2d"><div class="ttname"><a href="classerpcgen_1_1_python_generator.html#a64faaba16ab3ada34a74eb2169347e2d">erpcgen::PythonGenerator::m_suffixStrip</a></div><div class="ttdeci">std::string m_suffixStrip</div><div class="ttdoc">String to remove from suffixes of names. </div><div class="ttdef"><b>Definition:</b> PythonGenerator.h:52</div></div>
<div class="ttc" id="classerpcgen_1_1_python_generator_html_aff03a8fa95169719ea156c784c748dbb"><div class="ttname"><a href="classerpcgen_1_1_python_generator.html#aff03a8fa95169719ea156c784c748dbb">erpcgen::PythonGenerator::makeGroupSymbolsTemplateData</a></div><div class="ttdeci">cpptempl::data_map makeGroupSymbolsTemplateData(Group *group)</div><div class="ttdoc">This function sets group symbols template data. </div><div class="ttdef"><b>Definition:</b> PythonGenerator.cpp:403</div></div>
<div class="ttc" id="classerpcgen_1_1_python_generator_html_ab1ed7536bc90b790eef9e499e1f25530"><div class="ttname"><a href="classerpcgen_1_1_python_generator.html#ab1ed7536bc90b790eef9e499e1f25530">erpcgen::PythonGenerator::checkWhitspaceChar</a></div><div class="ttdeci">bool checkWhitspaceChar(char c)</div><div class="ttdoc">Check if character is whitespace type. </div><div class="ttdef"><b>Definition:</b> PythonGenerator.cpp:862</div></div>
<div class="ttc" id="classerpcgen_1_1_python_generator_html_a93a809338bbbf64d52d77a356571ac98"><div class="ttname"><a href="classerpcgen_1_1_python_generator.html#a93a809338bbbf64d52d77a356571ac98">erpcgen::PythonGenerator::generateServerFile</a></div><div class="ttdeci">void generateServerFile(std::string fileName)</div><div class="ttdoc">This function generate output server file. </div><div class="ttdef"><b>Definition:</b> PythonGenerator.cpp:82</div></div>
<div class="ttc" id="classerpcgen_1_1_python_generator_html_aad87b3a5437e1840f97dc9c4a98030bf"><div class="ttname"><a href="classerpcgen_1_1_python_generator.html#aad87b3a5437e1840f97dc9c4a98030bf">erpcgen::PythonGenerator::PythonGenerator</a></div><div class="ttdeci">PythonGenerator(InterfaceDefinition *def)</div><div class="ttdoc">This function is constructor of PythonGenerator class. </div><div class="ttdef"><b>Definition:</b> PythonGenerator.cpp:36</div></div>
<div class="ttc" id="classerpcgen_1_1_python_generator_html_a2089e01eceb16260cc331687cceddfaa"><div class="ttname"><a href="classerpcgen_1_1_python_generator.html#a2089e01eceb16260cc331687cceddfaa">erpcgen::PythonGenerator::generateClientFile</a></div><div class="ttdeci">void generateClientFile(std::string fileName)</div><div class="ttdoc">This function generate output client file. </div><div class="ttdef"><b>Definition:</b> PythonGenerator.cpp:76</div></div>
<div class="ttc" id="classerpcgen_1_1_builtin_type_html"><div class="ttname"><a href="classerpcgen_1_1_builtin_type.html">erpcgen::BuiltinType</a></div><div class="ttdoc">Represents the builtin atomic types. </div><div class="ttdef"><b>Definition:</b> BuiltinType.h:25</div></div>
<div class="ttc" id="classerpcgen_1_1_python_generator_html_a17c8b058c824888e052cee0476659ef7"><div class="ttname"><a href="classerpcgen_1_1_python_generator.html#a17c8b058c824888e052cee0476659ef7">erpcgen::PythonGenerator::getFunctionTemplateData</a></div><div class="ttdeci">cpptempl::data_map getFunctionTemplateData(Group *group, Function *fn)</div><div class="ttdoc">This function return interface function template data. </div><div class="ttdef"><b>Definition:</b> PythonGenerator.cpp:168</div></div>
<div class="ttc" id="classerpcgen_1_1_struct_type_html"><div class="ttname"><a href="classerpcgen_1_1_struct_type.html">erpcgen::StructType</a></div><div class="ttdoc">Structure data type. </div><div class="ttdef"><b>Definition:</b> StructType.h:28</div></div>
<div class="ttc" id="classerpcgen_1_1_function_html"><div class="ttname"><a href="classerpcgen_1_1_function.html">erpcgen::Function</a></div><div class="ttdoc">Function declaration. </div><div class="ttdef"><b>Definition:</b> Function.h:116</div></div>
<div class="ttc" id="classerpcgen_1_1_symbol_html"><div class="ttname"><a href="classerpcgen_1_1_symbol.html">erpcgen::Symbol</a></div><div class="ttdoc">Base class for all named declarations in the IDL. </div><div class="ttdef"><b>Definition:</b> Symbol.h:27</div></div>
<div class="ttc" id="classerpcgen_1_1_python_generator_html_a16c687c782244dd5a1ffdb20541ee7aa"><div class="ttname"><a href="classerpcgen_1_1_python_generator.html#a16c687c782244dd5a1ffdb20541ee7aa">erpcgen::PythonGenerator::~PythonGenerator</a></div><div class="ttdeci">virtual ~PythonGenerator()</div><div class="ttdoc">This function is destructor of PythonGenerator class. </div><div class="ttdef"><b>Definition:</b> PythonGenerator.h:42</div></div>
<div class="ttc" id="classerpcgen_1_1_python_generator_html_a8a6db075f452a06cc42bf6fe690c22c9"><div class="ttname"><a href="classerpcgen_1_1_python_generator.html#a8a6db075f452a06cc42bf6fe690c22c9">erpcgen::PythonGenerator::generateInterfaceFile</a></div><div class="ttdeci">void generateInterfaceFile(std::string fileName)</div><div class="ttdoc">This function generate output interface file. </div><div class="ttdef"><b>Definition:</b> PythonGenerator.cpp:88</div></div>
<div class="ttc" id="classerpcgen_1_1_python_generator_html_a395a47fda56e74785ec229bf3f58b655"><div class="ttname"><a href="classerpcgen_1_1_python_generator.html#a395a47fda56e74785ec229bf3f58b655">erpcgen::PythonGenerator::setStructMembersTemplateData</a></div><div class="ttdeci">void setStructMembersTemplateData(StructType *structType, cpptempl::data_map &amp;structInfo)</div><div class="ttdoc">This function sets struct member information to struct data map variable. </div><div class="ttdef"><b>Definition:</b> PythonGenerator.cpp:482</div></div>
<div class="ttc" id="classerpcgen_1_1_python_generator_html_ad42fb80a53dd3a60083e068213c1e1dc"><div class="ttname"><a href="classerpcgen_1_1_python_generator.html#ad42fb80a53dd3a60083e068213c1e1dc">erpcgen::PythonGenerator::parseSubtemplates</a></div><div class="ttdeci">void parseSubtemplates()</div><div class="ttdoc">This function prepare helpful functions located in template files. </div><div class="ttdef"><b>Definition:</b> PythonGenerator.cpp:100</div></div>
<div class="ttc" id="classerpcgen_1_1_python_generator_html"><div class="ttname"><a href="classerpcgen_1_1_python_generator.html">erpcgen::PythonGenerator</a></div><div class="ttdoc">Code generator for Python. </div><div class="ttdef"><b>Definition:</b> PythonGenerator.h:27</div></div>
<div class="ttc" id="classerpcgen_1_1_python_generator_html_a0c489b72c0a49e306655e5d09dfa9cce"><div class="ttname"><a href="classerpcgen_1_1_python_generator.html#a0c489b72c0a49e306655e5d09dfa9cce">erpcgen::PythonGenerator::initPythonReservedWords</a></div><div class="ttdeci">void initPythonReservedWords()</div><div class="ttdef"><b>Definition:</b> PythonGenerator.cpp:909</div></div>
<div class="ttc" id="classerpcgen_1_1_python_generator_html_a82835df27d6dce465b6cbd77d97476ae"><div class="ttname"><a href="classerpcgen_1_1_python_generator.html#a82835df27d6dce465b6cbd77d97476ae">erpcgen::PythonGenerator::getFunctionPrototype</a></div><div class="ttdeci">std::string getFunctionPrototype(Function *fn)</div><div class="ttdoc">This function return interface function prototype. </div><div class="ttdef"><b>Definition:</b> PythonGenerator.cpp:264</div></div>
<div class="ttc" id="classerpcgen_1_1_generator_html"><div class="ttname"><a href="classerpcgen_1_1_generator.html">erpcgen::Generator</a></div><div class="ttdoc">Abstract code generator base class. </div><div class="ttdef"><b>Definition:</b> Generator.h:43</div></div>
<div class="ttc" id="classerpcgen_1_1_python_generator_html_a9eacc3582abb3ecba72ad9acbf3320d3"><div class="ttname"><a href="classerpcgen_1_1_python_generator.html#a9eacc3582abb3ecba72ad9acbf3320d3">erpcgen::PythonGenerator::generateGlobalInitFile</a></div><div class="ttdeci">virtual void generateGlobalInitFile()</div><div class="ttdoc">This function generate output crc16 source file. </div><div class="ttdef"><b>Definition:</b> PythonGenerator.cpp:94</div></div>
<div class="ttc" id="classerpcgen_1_1_python_generator_html_a9ce867132a8c720f8aae4090ab51f0cd"><div class="ttname"><a href="classerpcgen_1_1_python_generator.html#a9ce867132a8c720f8aae4090ab51f0cd">erpcgen::PythonGenerator::stripWhitespace</a></div><div class="ttdeci">std::string stripWhitespace(const std::string &amp;s)</div><div class="ttdoc">Strip leading and trailing whitespace. </div><div class="ttdef"><b>Definition:</b> PythonGenerator.cpp:871</div></div>
<div class="ttc" id="classerpcgen_1_1_data_type_html"><div class="ttname"><a href="classerpcgen_1_1_data_type.html">erpcgen::DataType</a></div><div class="ttdoc">Base class for data types. </div><div class="ttdef"><b>Definition:</b> DataType.h:25</div></div>
<div class="ttc" id="classerpcgen_1_1_python_generator_html_a3a18b17878987df2ea6606d8beb45887"><div class="ttname"><a href="classerpcgen_1_1_python_generator.html#a3a18b17878987df2ea6606d8beb45887">erpcgen::PythonGenerator::filterName</a></div><div class="ttdeci">std::string filterName(const std::string &amp;name)</div><div class="ttdoc">Filter symbol names. </div><div class="ttdef"><b>Definition:</b> PythonGenerator.cpp:746</div></div>
<div class="ttc" id="classerpcgen_1_1_python_generator_html_aa037acaace79eb6ca1574dd0f8f224b3"><div class="ttname"><a href="classerpcgen_1_1_python_generator.html#aa037acaace79eb6ca1574dd0f8f224b3">erpcgen::PythonGenerator::makeConstTemplateData</a></div><div class="ttdeci">void makeConstTemplateData()</div><div class="ttdoc">This function sets const template data. </div><div class="ttdef"><b>Definition:</b> PythonGenerator.cpp:288</div></div>
<div class="ttc" id="classerpcgen_1_1_python_generator_html_a8b627ff8666052e6799bd8b87d8d8b74"><div class="ttname"><a href="classerpcgen_1_1_python_generator.html#a8b627ff8666052e6799bd8b87d8d8b74">erpcgen::PythonGenerator::convertComment</a></div><div class="ttdeci">std::string convertComment(const std::string &amp;comment, comment_type commentType)</div><div class="ttdoc">Converts a C++-style Doxygen comment into a Python Doxygen comment. </div><div class="ttdef"><b>Definition:</b> PythonGenerator.cpp:760</div></div>
<div class="ttc" id="classerpcgen_1_1_python_generator_html_a3c02297f1492e80536de6a693e92faee"><div class="ttname"><a href="classerpcgen_1_1_python_generator.html#a3c02297f1492e80536de6a693e92faee">erpcgen::PythonGenerator::generateOutputFiles</a></div><div class="ttdeci">void generateOutputFiles(const std::string &amp;fileName)</div><div class="ttdoc">This function generate output files. </div><div class="ttdef"><b>Definition:</b> PythonGenerator.cpp:50</div></div>
<div class="ttc" id="classerpcgen_1_1_group_html"><div class="ttname"><a href="classerpcgen_1_1_group.html">erpcgen::Group</a></div><div class="ttdoc">An interface that contains functions. </div><div class="ttdef"><b>Definition:</b> Group.h:27</div></div>
<div class="ttc" id="classerpcgen_1_1_python_generator_html_a8432d73aacea31ea804c9f61e951fbf2"><div class="ttname"><a href="classerpcgen_1_1_python_generator.html#a8432d73aacea31ea804c9f61e951fbf2">erpcgen::PythonGenerator::makeAliasesTemplateData</a></div><div class="ttdeci">void makeAliasesTemplateData()</div><div class="ttdoc">Fill in template data for type aliases. </div><div class="ttdef"><b>Definition:</b> PythonGenerator.cpp:364</div></div>
<div class="ttc" id="classcpptempl_1_1data__map_html"><div class="ttname"><a href="classcpptempl_1_1data__map.html">cpptempl::data_map</a></div><div class="ttdef"><b>Definition:</b> cpptempl.h:190</div></div>
<div class="ttc" id="classerpcgen_1_1_enum_type_html"><div class="ttname"><a href="classerpcgen_1_1_enum_type.html">erpcgen::EnumType</a></div><div class="ttdoc">Enumerate data type. </div><div class="ttdef"><b>Definition:</b> EnumType.h:27</div></div>
<div class="ttc" id="classerpcgen_1_1_python_generator_html_afb39bd4d55ecf9aee7d12d0cd35cc7ad"><div class="ttname"><a href="classerpcgen_1_1_python_generator.html#afb39bd4d55ecf9aee7d12d0cd35cc7ad">erpcgen::PythonGenerator::comment_type</a></div><div class="ttdeci">comment_type</div><div class="ttdoc">Possible Doxygen comment styles. </div><div class="ttdef"><b>Definition:</b> PythonGenerator.h:237</div></div>
<div class="ttc" id="classerpcgen_1_1_python_generator_html_a159433bdd4b08321645dde2ab16486eb"><div class="ttname"><a href="classerpcgen_1_1_python_generator.html#a159433bdd4b08321645dde2ab16486eb">erpcgen::PythonGenerator::makeEnumsTemplateData</a></div><div class="ttdeci">void makeEnumsTemplateData()</div><div class="ttdoc">This function sets enum template data. </div><div class="ttdef"><b>Definition:</b> PythonGenerator.cpp:323</div></div>
<div class="ttc" id="classerpcgen_1_1_python_generator_html_ab2c05b210c26321b3c8d3596a6bbb63d"><div class="ttname"><a href="classerpcgen_1_1_python_generator.html#ab2c05b210c26321b3c8d3596a6bbb63d">erpcgen::PythonGenerator::getTypeInfo</a></div><div class="ttdeci">cpptempl::data_map getTypeInfo(DataType *t)</div><div class="ttdoc">This function return necessary template data for data type. </div><div class="ttdef"><b>Definition:</b> PythonGenerator.cpp:562</div></div>
<div class="ttc" id="classerpcgen_1_1_python_generator_html_af4e9684cb2614e1a710670f5bacde45a"><div class="ttname"><a href="classerpcgen_1_1_python_generator.html#af4e9684cb2614e1a710670f5bacde45a">erpcgen::PythonGenerator::m_suffixStripSize</a></div><div class="ttdeci">size_t m_suffixStripSize</div><div class="ttdoc">Length of the suffix filter string. </div><div class="ttdef"><b>Definition:</b> PythonGenerator.h:53</div></div>
<div class="ttc" id="classerpcgen_1_1_python_generator_html_a72086513216a45445c5a5a8c4a76c46f"><div class="ttname"><a href="classerpcgen_1_1_python_generator.html#a72086513216a45445c5a5a8c4a76c46f">erpcgen::PythonGenerator::generateCommonFile</a></div><div class="ttdeci">void generateCommonFile(std::string fileName)</div><div class="ttdoc">This function generate output common module. </div><div class="ttdef"><b>Definition:</b> PythonGenerator.cpp:70</div></div>
<div class="ttc" id="classerpcgen_1_1_python_generator_html_a85fe129c6dcb48f5d09a679da07c63be"><div class="ttname"><a href="classerpcgen_1_1_python_generator.html#a85fe129c6dcb48f5d09a679da07c63be">erpcgen::PythonGenerator::setTemplateComments</a></div><div class="ttdeci">void setTemplateComments(Symbol *symbol, cpptempl::data_map &amp;symbolInfo)</div><div class="ttdoc">This function will get symbol comments and convert to language specific ones. </div><div class="ttdef"><b>Definition:</b> PythonGenerator.cpp:162</div></div>
<div class="ttc" id="classerpcgen_1_1_python_generator_html_ad16dff80cfd6557f8ebd94ac52cf0b7a"><div class="ttname"><a href="classerpcgen_1_1_python_generator.html#ad16dff80cfd6557f8ebd94ac52cf0b7a">erpcgen::PythonGenerator::generate</a></div><div class="ttdeci">virtual void generate()</div><div class="ttdoc">This function generate output code for output files. </div><div class="ttdef"><b>Definition:</b> PythonGenerator.cpp:113</div></div>
<div class="ttc" id="namespaceerpcgen_html"><div class="ttname"><a href="namespaceerpcgen.html">erpcgen</a></div><div class="ttdef"><b>Definition:</b> AstNode.h:25</div></div>
<div class="ttc" id="classerpcgen_1_1_python_generator_html_a2af3aec5e6e3fee1417287f4c12c5cfc"><div class="ttname"><a href="classerpcgen_1_1_python_generator.html#a2af3aec5e6e3fee1417287f4c12c5cfc">erpcgen::PythonGenerator::getEnumMembersTemplateData</a></div><div class="ttdeci">cpptempl::data_list getEnumMembersTemplateData(EnumType *enumType)</div><div class="ttdoc">This function return enum members template data. </div><div class="ttdef"><b>Definition:</b> PythonGenerator.cpp:346</div></div>
</div><!-- fragment --></div><!-- contents -->
</div><!-- doc-content -->
<!-- HTML footer for doxygen 1.8.5-->
<!-- start footer part -->
<div id="nav-path" class="navpath"><!-- id is needed for treeview function! -->
  <ul class="foot">
    <li class="footer">Copyright 2016-2020 NXP Semiconductors. All rights reserved.
    </li>
  </ul>
</div>
</body>
</html>
